/* MAIN STYLE SHEET /*

/* Variable Library */
:root {
    /* Colors */
    --color-primary: #152f31;
    --color-secondary: #eeebe6;
    --color-teritiary: #006352;
    --color-highlight: #7fe9a8;

    /* Fonts */
    --font-title: 'Bubblegum Sans';
    --font-body: 'Atkinson Hyperlegible';
}

/* ELEMENTS */
/* Fonts */
@font-face {
  font-family: 'Bubblegum Sans';
  src: url("/assets/font/BubblegumSans-Regular.ttf"), Arial;
}

@font-face {
    font-family: 'Atkinson Hyperlegible';
    src: url("/assets/font/AtkinsonHyperlegible-Regular.ttf"), Arial;
}

/* Text Elements */
p {
    color: var(--color-primary);
    font-size: 1rem;
    line-height: 1.2;
    margin: 15px 5px;
    a {
        color: #138e97 !important;
    }
}

h1 {
    font-family: var(--font-title);
    letter-spacing: 1px;
    font-size: 2.5rem;
    color: var(--color-teritiary);
    margin: 0.5rem;
}

h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--color-teritiary);
}

/* Site Elements */
a {
    color: #ffffff;
    text-decoration: none;
    &:hover {
        opacity: 0.9;
    }
    &:visited {
        color: inherit;
    }
}

/* SITE-WIDE */
* {
    margin: 0;
    padding: 0;
    text-align: center;
}

body {
    background-image: url("/assets/img/sprites/bg_tile.png");
    background-size: 100px;
    color: var(--color-primary);
    font-family: var(--font-body); 
}

footer {
    width: 60%;
    margin: auto;
    margin-bottom: 1.5rem;
    /* Colors & Decor */
    background-color: var(--color-secondary);
    box-shadow:  0px 0px 0px 3px #000000;
    /* Borders */
    border: 3px solid var(--color-teritiary);
    border-top-color: var(--color-highlight);
    border-left-color: var(--color-highlight);
    border-radius: 10px;
}

.site_container {
    /* Display and Positioning */
    display: grid;
    place-items: center;
    overflow-y: scroll;
}
.splash_version {
    height: 100vh;
}

/* Grid Organization */
.grid_container {
    display: grid;
    grid-template-columns: 20% 60% 20%;
}

.content_container {
    /* Display and Positioning */
    width: 60%;
    margin: 25px;
    /* Colors & Decor */
    background-color: var(--color-secondary);
    box-shadow:  0px 0px 0px 3px #000000;
    /* Borders */
    border: 3px solid var(--color-teritiary);
    border-top-color: var(--color-highlight);
    border-left-color: var(--color-highlight);
    border-radius: 10px;
}

/* Header Stuff */
.header {
    & .banner {
        /* Fixing the Overflow */
        border-radius: 7px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        /* Adjusting Size & Position */
        max-height: 250px;
        object-fit: cover;
    }
}

.navbar {
    background-image: linear-gradient(#318b57,var(--color-teritiary));
    padding: 10px 0;
    margin-top: -4px;
    /* Borders*/
    border-top: solid 2px #d9fd96;
    border-bottom: solid 3px #130781;
    & ul {
        /* Display & Positioning */
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 10px;
        /* Text Decor */
        font-family: var(--font-title);
        font-size: 1.8rem;
        list-style-type: none;
        color: white !important;
        & li {
            transition: 0.2s;
            &:hover {
                transform: scale(1.05) rotate(1.5deg);
            }
        }
        .active {
            color: #1e3636;
            transform: none !important;
        }
        .under_construction {
            color: #a9c5a0;
            transform: none !important;
        }
        .nav {
            position: relative;
            &:hover .dropdown_links {
                display: block;
            }
        }
        .dropdown_links {
            position: absolute;
            background-color: var(--color-teritiary);
            text-align: center;
            padding: 0 10px 5px 10px;
            border-radius: 5px;
            transition: .2s;
            display: none;
            & a {
                color: white;
                font-size: 1.5rem;
            }
            &:hover {
                transform: rotate(-5deg);
            }
        }
    }
}

.middle {
    border: 3px solid var(--color-teritiary);
    border-top: none;
    border-bottom: none;
}

/* FLOATIE */
.floatie {
    user-select: none;
    max-width: 250px;
    width: 50%;
    position: fixed;
    right: 0;
    bottom: 1rem;
    transition: 0.2s;
    &:hover {
        transform: scale(1.05) rotate(2deg);
    }
    &:active {
        transform: scaleY(0.9) skew(4deg) translateY(0.5rem);
    }
}

.victim {
    max-width: 175px;
    z-index: 1;
    &:hover {
        transform: scale(1.05) rotate(-2deg);
    }
    &:active {
        transform: scaleY(0.9) skew(-4deg) translateY(0.5rem);
    }
}

.xurk {
    right: 7rem;
    bottom: 0.5em;
}

/* SPLASH SCREEN */
.splash {
    display: grid;
    place-items: center;
    margin: 0;
    width: 800px;
    overflow: hidden;
    grid-template-columns: 40% 60%;
    & h1 {
        /* Grid Positioning */
        grid-column-start: 1;
        grid-column-end: 3;
        /* Styling */
        font-size: 3rem;
        margin-top: 1rem;
    }
    /* Text Decor */
    & p {
        margin: 1rem;
    }
    & ul {
        list-style-type: none;
        & li {
            margin: 0.5rem;
            padding: 0.2rem;
        }
    }
    & img {
        float: left;
        max-width: 300px;
    }
    a {
        margin: auto;
        /* Grid Positioning */
        grid-column-start: 1;
        grid-column-end: 3;
        transition: 1s;
        &:hover {
            transform: scale(1.05) scaleY(1.1);
        }
    }
    & .welcome {
        float: none;
        width: 80%;
        max-width: 450px;
        padding: 1rem;
    }
}

/* HOME */
.pokemon_showcase {
    margin-top: 1rem;
    user-select: none;
}

.webrings {
    padding: 8px;
    border-bottom: 3px solid var(--color-teritiary);
    border-radius: 2px;
    margin: 5px;
    & img {
        margin-top: 10px;
        max-width: 100%;
        width: 175px;
    }
    & section {
        padding-bottom: 5px;
    }
    & .centerTable {
        width: 100%;
        margin: 1rem 0;
    }
}

.cool_sites {
    & h2 {
        margin: 0.5rem;
    }
}

.status_cafe {
    margin: 5px;
    padding: 0.5rem 2rem;
    border-bottom: var(--color-teritiary) 3px solid;
    border-radius: 2px;
    word-wrap: break-word;
}

#statuscafe {
    padding: .5em;
    border-style: solid;
    border-width: 8px;
    border-radius: 5px;
    border-image: url("/assets/img/sprites/border_thoughtbubble.png") 40 round;
    background-color: #ffffff;
}
#statuscafe-username {
    margin-bottom: .3em;
    font-family: var(--font-title);
    text-transform: uppercase;
}
#statuscafe-content {
    margin: 0 1em 0.5em 1em;
    font-size: .8rem;
}

.guestbook {
    display: grid;
    grid-template-columns: 40% 60%;
    position: relative;
    & iframe {
        width: 90%;
        margin: 0;
        padding: 0;
        /* Border */
        border-radius: 10px;
        border: 2px var(--color-highlight) solid;
        border-bottom: 2px var(--color-teritiary) solid;
        border-right: 2px var(--color-teritiary) solid;
        border-radius: 10px;
        box-shadow:  0px 0px 0px 2px #000000;
    }
    & img {
        width: 100px;
        float: right;
        display: flex;
        position: absolute;
        right: -2rem;
        top: 3.5rem;
        user-select: none;
    }
    & p {
        margin-left: 2rem;
    }
}

.row {
    display: grid;
    place-items: center;
    grid-template-columns: 50% 50%;
    width: 100%;
    height: 350px;
}

.placeholder {
    grid-column-start: 1;
    grid-column-end: 2;
    margin: 1rem;
    & video {
        max-width: 450px;
        width: 100%;
        border: 3px var(--color-highlight) solid;
        border-bottom: 3px var(--color-teritiary) solid;
        border-right: 3px var(--color-teritiary) solid;
        border-radius: 10px;
        box-shadow:  0px 0px 0px 2px #000000;
    }
}

.changelog {
    grid-column-start: 2;
    grid-column-end: 3;
    .sticky_note {
        position: relative;
        & img {
            width: 100%;
        }
    }
    .list_text {
        position: absolute;
        mix-blend-mode: multiply;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(1.5deg) skewX(3deg) skewY(1.1deg);
        opacity: .8;
        margin: auto;
        max-height: 60%;
        width: 65%;
        overflow-y: scroll;
        overflow-x: hidden;
        & .list_changelog {
            font-size: 0.8rem;
            & li {
                margin-bottom: 0.5rem;
            }
        }
        & h2 {
            font-size: 1.8rem;
        }
    }
}

/* ART */
.art_gallery {
    width: 100%;
}

.collapsible_gallery {
    /* Flex */
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    width: 100%;
    max-height: 500px;
    overflow-y: scroll;
    /* Position */
    margin-top: -5px;
    padding-top: 7px;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    /* Decoration */
    background-image: url("/assets/img/sprites/paper_bg.jpg");
    background-size: 50%;
    background-blend-mode: multiply;
    background-color: var(--color-secondary);
    border-radius: 0 0 10px 10px;
    & img {
        /* Positioning */
        display: flex;
        max-height: 200px;
        max-width: 90%;
        /* Borders */
        border: solid 3px var(--color-highlight);
        border-bottom: solid 3px var(--color-teritiary);
        border-right: 3px solid var(--color-teritiary);
        box-shadow: #000000 0 0 0 3px;
        border-radius: 5px;
        transition: .2s;
        background-color: var(--color-highlight);
        &:hover {
            transform: scale(1.1);
            opacity: .9;
        }
        &:active {
            transform: scale(1) rotate(-1.5deg) skew(3deg);
        }
    }
    & .top_bar {
        flex: none;
        /* Positioning */
        position: relative;
        /* Decoration */
        background-color: var(--color-teritiary);
        color: var(--color-secondary);
        /* Borders */
        border: solid 3px var(--color-highlight);
        box-shadow: #000000 0 0 0 3px;
        & h2 {
            margin: 0;
            padding: 0;
            color: var(--color-secondary);
        }
    }
    & span {
        position: absolute;
        margin: 0;
        padding: 0;
        top: 0;
        right: 1rem;
        font-size: 2rem;
    }
}

.top_bar {
    flex: none;
    /* Positioning */
    position: relative;
    margin: 0.5rem 3px;
    /* Decoration */
    background-color: var(--color-teritiary);
    color: var(--color-secondary);
    /* Borders */
    border: solid 3px var(--color-highlight);
    box-shadow: #000000 0 0 0 3px;
    & h2 {
        margin: 0;
        padding: 0;
        color: var(--color-secondary);
    }
}

.x {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
}

#a2026 {
    display: flex;
}

#a2025 {
    display: none;
}

#a2024 {
    display: none;;
}

#modal {
    display: none;
}

.modal {
    /* Positioning */
    position: fixed;
    place-items: center;
    width: 100%;
    height: 100vh;
    z-index: 1;
    top: 0;
    left: 0;
    /* Decoration */
    background-color: #000000f5;
    background-blend-mode: multiply;
    & img {
        max-width: 80%;
        max-height: 80vh;
    }
    & .x {
        color: var(--color-highlight);
        transition: .5s;
        &:hover {
            transform: scale(1.1) rotate(1.5deg);
            color: white;
        }
    }
}


/* ETC */



/* MOBILE */
@media only screen and (max-width: 1000px) {
    footer {
        width: 95%;
    }

    p {
        font-size: 0.8rem;
    }

    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    
    .site_container {
        width: 100%;
    }

    .content_container {
        /* Display and Positioning */
        width: 100%;
        max-height: none;
        /* Borders */
        border-left: none;
        border-right: none;
        /* Overflow */
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .grid_container {
        display: block;
    }

    .left {
        display: none;
    }
    
    .right {
        display: none;
    }

    .middle {
        border: none;
    }

    .floatie {
        display: none;
    }

    /* HOME */
    .guestbook {
        display: block;
        & iframe {
            border: 2px var(--color-highlight) solid;;
        }
    }
    .row {
        display: block;
        height: auto;
    }
    .changelog {
        height: 350px;
    }

    /* MY WORK - ART */
& .top_bar {
    & h2 {
        font-size: 1.5rem;
    }
    & span {
        font-size: 1.2rem;
    }
}
}